//
//  PYUrlHeader.h
//  IHome
//
//   Created by zhujizheng on 2020/2/18.
//  Copyright © 2019年 com.zhujizheng. All rights reserved.
//

#ifndef PYUrlHeader_h
#define PYUrlHeader_h

/// ip地址http://poebeac1e.bkt.clouddn.com
#ifdef DEBUG
//static NSString *ip_address = @"http://localhost:8888";
static NSString * const ip_address = @"http://www.zhujizheng.com:8888";
static NSString * const qiniu_ip_address = @"http://media.zhujizheng.com";
#else
static NSString * const ip_address = @"http://www.zhujizheng.com:8888";
static NSString * const qiniu_ip_address = @"http://media.zhujizheng.com";
#endif

#pragma mark - 上传文件
/// 上传文件获取上传token
static NSString * const getUploadFileTokenURL = @"fileupload/uploadtoken";

#pragma mark - 每刻动态相关
/// 获取每刻动态列表数据
static NSString * const pullEveryMomentURL = @"everymoment/pull";
/// 发布每刻动态
static NSString * const pushEveryMomentURL = @"everymoment/push";
/// 删除动态
static NSString * const deleteEveryMomentURL = @"everymoment/delete";
/// 点赞动态
static NSString * const thumbupEveryMomentURL = @"everymoment/thumbup";
/// 取消点赞
static NSString * const cancelThumbupEveryMomentURL = @"everymoment/cancelthumbup";
/// 评论
static NSString * const commentEveryMomentURL = @"everymoment/comment";
/// 删除评论
static NSString * const deleteCommentEveryMomentURL = @"everymoment/deletecomment";

#pragma mark - 登录相关
/// 登录地址
static NSString * const accountAndPasswordLoginURL = @"login/normal";

#pragma mark - 个人信息
/// 更新个人信息
static NSString * const updateUserInfoURL = @"user/update";
/// 获取个人信息
static NSString * const selectUserInfoURL = @"user/select";

#pragma mark - 反馈意见
/// 上传反馈意见
static NSString * const uploadFeedbackUrl = @"feedback/push";
/// 获取全部反馈意见
static NSString * const pullFeedbackUrl = @"feedback/pull";
/// 获取全部未处理的反馈意见条数
static NSString * const pullUndealFeedbackNumUrl = @"feedback/pull/undealnum";

#pragma mark - 版本信息
/// 获取版本信息
static NSString * const pullVersionInfoUrl = @"version/pull";
/// 获取最新版本信息
static NSString * const pullNewestVersionInfoUrl = @"version/newest";

#pragma mark - 系统消息
/// 获取系统消息
static NSString * const pullSystemMessageUrl = @"systemmessage/pull";
/// 获取所有未读消息
static NSString * const pullSystemMessageUnreadedUrl = @"systemmessage/pullunreaded";
/// 更新未读状态
static NSString * const updateSystemMessageUnreadStatusUrl = @"systemmessage/unreadstatus";
/// 更新动态相关消息状态为已读
static NSString * const updateSystemMessageReadedStatusForEmUrl = @"systemmessage/readedstatus";

#pragma mark - 生日本
/// 获取生日本数据
static NSString *const pullDayMatterUrl = @"daymatter/pull";

#pragma mark - 日志相关
/// 上传日志
static NSString *const uploadLogUrl = @"log/upload";
/// 更新日志
static NSString *const updateLogUrl = @"log/update";
/// 获取所有日志
static NSString *const pullAllLogUrl = @"log/pull/all";
/// 获取指定用户的所有日志
static NSString *const pullUserLogUrl = @"log/pull/user";
/// 抓取指定用户指定日志名的日志
static NSString *const catchLogUrl = @"log/catch";

#pragma mark - 用户相册
/// 获取用户相册
static NSString *const pullUserAlbum = @"useralbum/pull";
/// 获取用户相册指定标签的图片集
static NSString *const pullUserAlbumImg = @"useralbum/pull/tagImg";

#endif /* PYUrlHeader_h */
